package com.xhl.vo;

import java.io.Serializable;
import java.util.List;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

@Repository
@Scope("prototype")
public class CategoryVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private int cid; // id
    private String name;//

    private List<ProductVO> pvoList;


    public List<ProductVO> getPvoList() {
        return pvoList;
    }

    public void setPvoList(List<ProductVO> pvoList) {
        this.pvoList = pvoList;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "CategoryVO [cid=" + cid + ", name=" + name + ", pvoList=" + pvoList + "]";
    }


}
